package com.lcy.demowebsocket;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * main 入口
 */
@SpringBootApplication
public class DemoWebsocketApplication {
//相关博客请查看https://www.cnblogs.com/bianzy/p/5822426.html
@Bean
	public Topic topics() {
		return new ActiveMQTopic();
	}
	public static void main(String[] args) {
		SpringApplication.run(DemoWebsocketApplication.class, args);
	}
}
